package com.yh.lq.robot;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ApiEnum {
    //已实现的api
    SEND_PRIVATE_MSG("SendMsg", "发送私聊消息"),
    SEND_GROUP_MSG("SendMsg", "发送群消息"),
    GET_GROUP_LIST("GetGroupList", "获取群列表"),
    GET_STATUS("GetStatus", "获取机器人状态信息"),
    GET_GROUP_MEMBER_LIST("GetGroupMemberList_C", "获取群成员列表"),
    @Deprecated
    GET_IS_FRIEND("IfFriend", "判断是否是好友"),
    GET_GROUP_NAME("GetGroupName", "获取群名"),
    GET_FRIEND_LIST("GetFriendList", "获取好友列表"),
    GET_USER_NICK_NAME("GetUserNickName", "获取账号的昵称"),
    //微信api
    WECHAT_API("", "微信api"),
    WECHAT_SEND_PRIVATE_MSG("sendTextMsg", "微信发送私聊消息"),
    WECHAT_SEND_PUBLIC_MSG("sendTextMsg", "微信发送群消息"),
    WECHAT_SEND_PUBLIC_AT_MSG("sendGroupAtMsg", "微信发送群at消息"),
    WECHAT_GET_FRIEND_LIST("getFriendList", "微信获取好友列表"),
    WECHAT_GET_GROUP_LIST("getGroupList", "微信获取群列表"),
    WECHAT_GET_ROBOT_NAME("getRobotName", "微信获取机器人名称"),
    //未调通，暂时ignore
    @Deprecated
    WECHAT_GET_ROBOT_HEAD_IMAGE("getRobotHeadImgUrl", "微信获取机器人头像链接"),


    SEND_DISCUSS_MSG("send_discuss_msg", "发送讨论组消息"),
    SEND_MSG("send_msg", "发送消息"),
    DELETE_MSG("delete_msg", "撤回消息"),
    SEND_LIKE("send_like", "发送好友赞"),
    SET_GROUP_KICK("set_group_kick", "群组踢人"),
    SET_GROUP_BAN("set_group_ban", "群组单人禁言"),
    SET_GROUP_ANONYMOUS_BAN("set_group_anonymous_ban", "群组匿名用户禁言"),
    SET_GROUP_WHOLE_BAN("set_group_whole_ban", "群组全员禁言"),
    SET_GROUP_ADMIN("set_group_admin", "群组设置管理员"),
    SET_GROUP_ANONYMOUS("set_group_anonymous", "群组匿名"),
    SET_GROUP_CARD("set_group_card", "设置群名片（群备注）"),
    SET_GROUP_LEAVE("set_group_leave", "退出群组"),
    SET_GROUP_SPECIAL_TITLE("set_group_special_title", "设置群组专属头衔"),
    SET_DISCUSS_LEAVE("set_discuss_leave", "退出讨论组"),
    SET_FRIEND_ADD_REQUEST("set_friend_add_request", "处理加好友请求"),
    SET_GROUP_ADD_REQUEST("set_group_add_request", "处理加群请求／邀请"),
    GET_LOGIN_INFO("get_login_info", "获取登录号信息"),
    GET_STRANGER_INFO("get_stranger_info", "获取陌生人信息"),
    GET_GROUP_INFO("get_group_info", "获取群信息"),
    GET_GROUP_MEMBER_INFO("get_group_member_info", "获取群成员信息"),
    GET_COOKIES("get_cookies", "获取 Cookies"),
    GET_CSRF_TOKEN("get_csrf_token", "获取 CSRF Token"),
    GET_CREDENTIALS("get_credentials", "获取 QQ 相关接口凭证"),
    GET_RECORD("get_record", "获取语音"),
    GET_IMAGE("get_image", "获取图片"),
    CAN_SEND_IMAGE("can_send_image", "检查是否可以发送图片"),
    CAN_SEND_RECORD("can_send_record", "检查是否可以发送语音"),
    GET_VERSION_INFO("get_version_info", "获取 酷Q 及 HTTP API 插件的版本信息"),
    SET_RESTART_PLUGIN("set_restart_plugin", "重启 HTTP API 插件"),
    CLEAN_DATA_DIR("clean_data_dir", "清理数据目录"),
    CLEAN_PLUGIN_LOG("clean_plugin_log", "清理插件日志");


    private String url;
    private String desc;
}
